package com.wind.taobao.api.trade.trade.rest
{
	import com.wind.taobao.api.trade.trade.convert.TradeConfirmFeeConvert;
	import com.wind.taobao.api.trade.trade.model.TradeConfirmFee;
	import com.wind.taobao.core.webservice.TaobaoResponse;

	/**
	 * taobao.trade.confirmfee.get Response
	 * @author fxy
	 *
	 */
	public class TradeConfirmFeeGetResponse extends TaobaoResponse
	{
		public var tradeConfirmFee:TradeConfirmFee;

		public function TradeConfirmFeeGetResponse(response:TaobaoResponse=null)
		{
			super(response);
			initTradeConfirmFee();
		}

		private function initTradeConfirmFee():void
		{
			if (body != null && this.isSuccess)
			{
				if (body["rsp"].hasOwnProperty("confirmFees"))
					tradeConfirmFee=TradeConfirmFeeConvert.convertTradeConfirmFee(body["rsp"]["confirmFees"][0]);
			}
		}

	}
}